/*
 * Copyright (c) 2006 - 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Retention(RUNTIME)
@Target({TYPE, METHOD})
@interface Anns {
    Ann[] value();
}

@Repeatable(Anns.class)
@Retention(RUNTIME)
@Target({TYPE, METHOD})
public @interface Ann {
    String name();

    int age() default 18;

    String sex() default "男";
}
